package com.fgr.service;

import com.fgr.beans.AnimalType;

import java.util.List;

public interface AnimalTypeService {
    public List<AnimalType> selectAllAnimalType();
    public AnimalType selectAnimalTypeById(Integer tyId);
    public List<AnimalType> selectAllAnimalTypeByParentType(Integer tyParentId);
    public List<AnimalType> selectAllAnimalChildType();
    public Integer deleteAnimalType(Integer ty_id);
    public Integer deleteAnimalTypeByParentId(Integer ty_id);
    public String insertAnimalType(AnimalType animalType);


}
